<template>
  <div>
    <button @click=" showPopup = true">编辑</button>
    <HmPopup v-model="showPopup">
      <h1>123</h1>
    </HmPopup>

    <HmPopup v-model="showPopup">
      <h1>123</h1>
    </HmPopup>
  </div>
</template>

<script>
import HmPopup from './components/HmPopup.vue';
export default {
  components: {
    HmPopup
  },
  data() {
    return {
      showPopup: false
    };
  }
}
</script>

<style></style>
